<script type="text/javascript" src="/static/admin/js/nicEdit-latest.js"></script>
<script type="text/javascript">
	bkLib.onDomLoaded(function() {
        new nicEditor({uploadURI:'/admin/nic-upload?c=2&'}).panelInstance('answer');
        new nicEditor({uploadURI:'/admin/nic-upload?c=2&'}).panelInstance('en_answer');
	  });
</script>

<?php $f = $this->form ?>
<div class="mainpage">
<form method="post" class="form-horizontal">
	<div class="top-tools">
    <?php echo $this->flashMessenger()?>

        <div class="pull-right">
            <?php echo $f->getDefaultActionGroup() ?>
        </div>
        <div class="clear"></div>
    </div>

    <div class="row-fluid">
    	<h3 class="form-legend"><?php echo $f->getLegend() ?></h3>
    </div>

    <div class="row-fluid">
        <div class="span12">
            <?php echo $f ?>
        </div>
    </div>

    <div class="clear"></div>
</form>
</div>